<html>
	<head>
		<title> Nits! </title>
		<link rel="stylesheet" type="text/css" href="/nitpicker/static/css/css_main.css">
		
		
	</head>
	<body>
		<div style="float: left;"> {if $is_logged_in}<a href="log_out.php"> Log Out! </a> {else} <a href="log_in.php"> Log In! </a> {/if}
		</div>		
		<div style="float: right;">	<a href="new_incident.php"> Pick Nit! </a> </br>
		<a href="http://www.youtube.com/watch?v=JWAUvdUn-r8"> Picknick! </a> 
		</div>
		</br>
		<p> 	
			<center> <h1> <blink> Nitpicker!  </blink> </h1> </center>
		</p>
		<p class=header> It's not a bug, it's just a nit. Pick a here, rate it good and watch it grow. 
		Rate others' nits. Watch the Nitticker. Become a Nit Ridder. </p>
		</br>
			<div class="pic" >
			<img src="http://www.arcadebond.com/games/images/LSS_pacman.gif" width=400px padding=30px />	
		</div>
		<p> Browse per Nitegory:</p>
		
		<p>
					{foreach from=$categories item=category key=key}
					<a href="/nitpicker/view_all.php?category={$key}" >{$category} - </a>
					{/foreach}	
		</p>
		<p> Nitticker: </p>
		
		<table width="40%" border="1px" >		
			<td>	
					<tr>
						<td> New Nits </td>
						<td> Initial Rating </td>
					</tr>
					{foreach from=$incidents item=incident}
					<tr>
						<td><a href="view_incident.php?incident_id={$incident['incident_id']}" >{$incident['incident_title']} </a></td>
						<td>{$incident['initial_rating']} </td>
					</tr>
					{/foreach}				
			</td>
			
	

	
	</body>		
</html>			